I want to translate an object. I often come across the situation where I
want to randomly add a increment to a translation either side of zero. ie
translate x* (+or - increment) usually in a loop.
I've used mod to alternate either side of zero but I'd like it to be random.
Hope that makes sense
Mick
"Margus Ramst" <mar### [at] peakeduee> wrote in message
news:39C50ABB.A59A52A0@peak.edu.ee...
> Mick Hazelgrove wrote:
> >
> > Is there a way of doing
> >
> > x (+ or -) y ?
> >
>
> Could you be a bit more specific as to what scenario you have in mind?
> Conditionals? Isosurfaces? Loop counters? ...?
>
> --
> Margus Ramst
>
> Personal e-mail: mar### [at] peakeduee
> TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg
Post a reply to this message
|